import IEvent  from "../Contract/IEvent";
import IServerData from "../Contract/IServerData";
import AbstractEvent from "../AbstractEvent";

class ReceiveMessage extends AbstractEvent implements IEvent<{}> {

    handle(data: IServerData<{[content:string]:string}>) {
        return this.msgFactory(data.data.content, '', {})
    }
    
}

export default ReceiveMessage;